<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>大小写转换</title>
</head>
<body>
<script type="module">
    // 导入大小写模块
    import {lower, upper} from "./model/case.js";
    import * as string from "./model/case.js";

    //导入的是 默认暴漏


    console.log(string.string)

    const str='zHangSan'
    let result1=upper(str)//转换为大写
    let result2=lower(str)//转换为小写
    console.log(result1,result2)
</script>
</body>
</html>